<?php
namespace plugins\site_config\controller;
use cmf\controller\ApiPluginBaseController;
use plugins\site_config\lib\Common as LCOM;
use think\Controller;

class ApiIndexController extends Controller//ApiPluginBaseController
{
    //获取站点信息
    public function getSiteInfo()
    {
        //$config = LCOM::getSiteInfo();
        $config = \plugins\setting\lib\Setting::getCache( 'site_config' );
        return api_json_echo( true , 'success' , $config );
    }
    
}